package com.lzx.reggie.entity

import com.baomidou.mybatisplus.annotation.FieldFill
import com.baomidou.mybatisplus.annotation.TableField
import java.io.Serializable
import java.math.BigDecimal
import java.time.LocalDateTime


open class Setmeal(
    var id: Long? = null,
    //分类id
    var categoryId: Long? = null,
    //套餐名称
    var name: String? = null,
    //套餐价格
    var price: BigDecimal? = null,
    //状态 0:停用 1:启用
    var status: Int? = null,
    //编码
    var code: String? = null,
    //描述信息
    var description: String? = null,
    //图片
    var image: String? = null,

    @TableField(fill = FieldFill.INSERT)
    var createTime: LocalDateTime? = null,

    @TableField(fill = FieldFill.INSERT_UPDATE)
    var updateTime: LocalDateTime? = null,

    @TableField(fill = FieldFill.INSERT)
    var createUser: Long? = null,

    @TableField(fill = FieldFill.INSERT_UPDATE)
    var updateUser: Long? = null
) : Serializable {
    companion object {
        private const val serialVersionUID = 1L
    }
}
